﻿using BackData;
using MediatR;

namespace RBAC.API.Command.User
{
    public class UserUpdateCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 用户主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string UserPwd { get; set; }
        /// <summary>
        /// 账号创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 是否启用  true 启用  false 禁用
        /// </summary>
        public bool IsUse { get; set; } = true;
        /// <summary>
        /// 选择的角色外键
        /// </summary>
        public string RoleIds { get; set; }
    }
}
